﻿Ext.define('app.system.laboratory.Index',
{
    extend: 'Ext.grid.Panel',
    border: true,
    title: '研究室',
    viewConfig: {
        enableTextSelection: true //可以复制单元格文字
    },
    multiColumnSort: true,
    forceFit: true,
    initComponent: function () {
        var me = this;
        me.store = Ext.create("app.ux.PrmStore", { url: '/api/services/app/laboratory/GetAll' });
        me.callParent(arguments);
    },
    columns: [
        { header: "研究室", dataIndex: 'name' },
        { header: "负责人", dataIndex: 'principal' },
        { header: "所属研发中心", dataIndex: 'rdCenterName' }
    ]
});
